package hotel.dao;

import org.nutz.dao.entity.annotation.*;

@Table("room_type")
public class RoomTypeDao {
	@Id
	private int typeId;			// 房间类型编号
	@Column
	private String typeName;	// 房间类型名称
	@Column
	private boolean hourRoom;	// 是否钟点房
	@Column
	private int bedNum;			// 床位数量
	@Column
	private double deposit;	// 押金 
	@Column
	private double price;		// 单价
	
	public int getTypeId() {
		return typeId;
	}
	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public boolean isHourRoom() {
		return hourRoom;
	}
	public void setHourRoom(boolean hourRoom) {
		this.hourRoom = hourRoom;
	}
	public int getBedNum() {
		return bedNum;
	}
	public void setBedNum(int bedNum) {
		this.bedNum = bedNum;
	}
	public double getDeposit() {
		return deposit;
	}
	public void setDeposit(double deposit) {
		this.deposit = deposit;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
}
